GetColorDistance(Double[],Double[]) Method
Kaliko.ImageLibrary.ColorSpace Namespace > ColorSpaceHelper Class > GetColorDistance Method : GetColorDistance(Double[],Double[]) Method |
First color [r,g,b]
Second color [r,g,b]
Gets the "distance" between two colors. RGB colors must be normalized (eg. values in [0.0, 1.0]).
Syntax
Parameters
- color1
- First color [r,g,b]
- color2
- Second color [r,g,b]
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2